import { http } from '@/utils/http'

// 新增
export const approve = (data?: object) => {
  return http.request('post', '/model/api/manage/approve', { data })
}

export const list = (data?: object) => {
  return http.request('get', '/model/manage/open/list' )
}

// 我的模型API列表
export const getList = (params?: object) => {
  return http.get<{}, HttpPaginationResponse>('/model/api/manage/apply/list', { params })
}